package com.dding.cms.base.dao.impl;

import java.util.List;
import java.util.Map;

import org.dding.core.log.ILogger;
import org.dding.core.log.LoggerFactory;
import org.javalite.activejdbc.Model;

import com.dding.cms.base.dao.IDaoHandler;
import com.dding.cms.base.web.widget.WidgetController;

public abstract class AbstractDaoHandler<T, V> implements IDaoHandler<T, V> {

	protected ILogger logger = LoggerFactory.getLogger(getClass());
	
	@Override
	public Map<String, V> handleAssocaition(Map<String, T> dataMap,
			List<Model> list, Model model) throws Throwable {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Map<String, V> handleExtAttr(Map<String, T> dataMap,
			List<Model> list, Model model) throws Throwable {
		// TODO Auto-generated method stub
		return null;
	}

	protected WidgetController controller = WidgetController.getInstance();

	@Override
	public Map<String, V> handleField(Map<String, T> dataMap, Model model)
			throws Throwable {
		// TODO Auto-generated method stub
		return null;
	}

}
